package com.blyat.xsoft.gateway.restful.service.impl;

import com.blyat.xsoft.gateway.restful.entity.Balancer;
import com.blyat.xsoft.gateway.restful.mapper.BalancerMapper;
import com.blyat.xsoft.gateway.restful.service.BalancerService;
import com.blyat.xsoft.gateway.ribbon.loadbalancer.rule.LoadBalancerRuleService;
import com.blyat.xsoft.kernel.restful.service.CrudService;
import org.springframework.stereotype.Service;

/**
 * @Auther: syh
 * @Date: 2020/9/14
 * @Description:
 */
@Service
public class BalancerServiceImpl extends CrudService<Balancer, BalancerMapper> implements BalancerService, LoadBalancerRuleService {
    @Override
    public int getByClient(String client) {
        return mapper.getByClient(client);
    }
}
